package factory_method

type LightInfo struct {
	iID int
	sName string
	sVendor string
	sModel string
}

func NewLightInfo(id int, name string, vendor string, model string) *LightInfo {
	return &LightInfo{
		id, name, vendor, model,
	}
}

func (me *LightInfo) ID() int {
	return me.iID
}

func (me *LightInfo) Name() string {
	return me.sName
}

func (me *LightInfo) Vendor() string {
	return me.sVendor
}